﻿<UserControl
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        xmlns:InfrastructureBackground="clr-namespace:BlueMarble.Genesis.Infrastructure.Background.Default"
	    x:Class="BlueMarble.Genesis.Infrastructure.Background.Default.Background"
        mc:Ignorable="d" 
        d:DesignWidth="894" d:DesignHeight="600">
    <Grid>
    	<VisualStateManager.VisualStateGroups>
    		<VisualStateGroup x:Name="VisualStateGroup">
    			<VisualStateGroup.Transitions>
    				<VisualTransition GeneratedDuration="0:0:5">
    					<VisualTransition.GeneratedEasingFunction>
    						<ElasticEase EasingMode="EaseIn"/>
    					</VisualTransition.GeneratedEasingFunction>
    					<Storyboard>
    						<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="textBlock">
    							<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
    							<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
    						</DoubleAnimationUsingKeyFrames>
    						<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="textBlock1">
    							<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
    							<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
    						</DoubleAnimationUsingKeyFrames>
    					</Storyboard>
    				</VisualTransition>
    			</VisualStateGroup.Transitions>
    		</VisualStateGroup>
    	</VisualStateManager.VisualStateGroups>
        <Grid.ColumnDefinitions>
        	<ColumnDefinition Width="*" />
        	<ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
        	<RowDefinition Height="*" />
        	<RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
				
		<InfrastructureBackground:InformationAmbience 
			Grid.Column="0" Grid.ColumnSpan="2"
            Grid.Row="0" Grid.RowSpan="2"
            HorizontalAlignment="Stretch" 
            VerticalAlignment="Stretch"/>

        <InfrastructureBackground:Ruby 
            Grid.Column="0" Grid.ColumnSpan="2"
            Grid.Row="0" Grid.RowSpan="2"
            HorizontalAlignment="Stretch" 
            VerticalAlignment="Stretch" />

        <TextBlock 
            x:Name="textBlock" 
            Grid.Column="1"
            Grid.Row="1"
            Margin="4"
            HorizontalAlignment="Right"
            VerticalAlignment="Bottom"
            Text="v 2 BETA (Ruby)"
            Foreground="Gold"
            FontSize="48">
            <TextBlock.Effect>
                <BlurEffect Radius="6" />
            </TextBlock.Effect>
        </TextBlock>

        <TextBlock 
            x:Name="textBlock1" 
            Grid.Column="1"
            Grid.Row="1"
            Margin="4"
            HorizontalAlignment="Right"
            VerticalAlignment="Bottom"
            Text="v 2 BETA (Ruby)"
            Foreground="Tomato"
            FontSize="48" />
    </Grid>
</UserControl>
